package com.astar.service;

import com.astar.entity.CustomChapter;
import com.astar.entity.PractiseCourseChapter;
import com.astar.entity.PractiseCourseType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分类练习-科目-章节表  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-01-31
 */
public interface IPractiseCourseChapterService extends IService<PractiseCourseChapter> {


    /**
     *
     * @param customChapter
     * @return
     */
    List<CustomChapter> selectAll(CustomChapter customChapter);

    /**
     * 查询科目
     * @return
     */
    List<PractiseCourseType> selectCourse();

    /**
     * 添加
     * @param practiseCourseChapter
     * @return
     */
    int add(PractiseCourseChapter practiseCourseChapter);


    /**
     * 批量删除
     * @param practiseCourseChapter
     * @return
     */
    int deleteForIds(PractiseCourseChapter practiseCourseChapter);

    /**
     * 查看
     * @param id
     * @return
     */
    PractiseCourseChapter selectForId(Integer id);

    /**
     *修改
     * @param practiseCourseChapter
     * @return
     */
    int updateForId(PractiseCourseChapter practiseCourseChapter);
}
